/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package io.osw.common;

import java.io.Serializable;

/**
 *
 * @author zhangxinling
 * @param <T>
 */
public class SimpleJsonResponse<T extends Object> implements Serializable {
    
    private boolean isOk;
    
    private T   message;
    
    public boolean isIsOk() {
        return isOk;
    }

    public void setIsOk(boolean isOk) {
        this.isOk = isOk;
    }

    public T getMessage() {
        return message;
    }

    public void setMessage(T message) {
        this.message = message;
    }

    public SimpleJsonResponse(boolean isOk, T message) {
        this.isOk = isOk;
        this.message = message;
    }

    public SimpleJsonResponse() {
    }   
}
